﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MWRCommunicationLibrary.ARS408
{
    public class Out_Object_1_General : MWRData
    {
        public override int DefaultCanID
        {
            get
            {
                return 0x60B;
            }
        }
        public override int Length
        {
            get
            {
                return 8;
            }
        }

        [ParamDecodor(0, 8)]
        public int Object_ID { get; set; }

        [ParamDecodor(19, 13, 0.2, -500)]
        public double Object_DisLong { get; set; }

        [ParamDecodor(24, 11, 0.2, -204.6)]
        public double Object_DisLat { get; set; }

        [ParamDecodor(46, 10, 0.25, -128)]
        public double Object_VrelLong { get; set; }

        [ParamDecodor(48, 3)]
        public int Object_DynProp { get; set; }

        [ParamDecodor(53, 9, 0.25, -64)]
        public double Object_VrelLat { get; set; }

        [ParamDecodor(56, 8, 0.5, -64)]
        public double Object_RCS { get; set; }
    }
}
